<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>修改业务信息</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="css/screen.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/sbm/ckeditor/ckeditor.js"></script>
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script>
	function mycheck() {
		if (myform.name.value == "") {
			alert("业务名称不能为空");
			myform.name.focus();
			return false;
		}
		if(myform.manager.value==""){
			alert("业务负责人不能为空");
			myform.manager.focus();
			return false;
		}
	}
</script>
</head>

<body>
	<s:form action="modifybusiness" method="post" name="myform">
		<table width="80%" align="right" class="class1">
			<tr>
				<td><br /></td>
			</tr>
			<tr>
				<td align="center">业务编号</td>
				<td nowrap="nowrap"><s:textfield name="business.bizid"
						readonly="true" /> <s:hidden name="business.clientid" /></td>
			</tr>
			<tr>
				<td align="center">业务名称</td>
				<td><s:textfield name="business.name" id="name" /></td>
			</tr>

			<tr>
				<td align="center">业务状态</td>
				<td><s:radio name="business.status"
						list="%{#{'0':'不活跃','1':'活跃'}}" id="status"></s:radio>
				</td>
			</tr>
			<tr>
				<td align="center">业务负责人</td>
				<td><s:textfield name="business.manager" id="manager" /></td>
			</tr>
			<tr>
				<td align="center">负责人联系方式</td>
				<td><s:textfield name="business.phone" id="phone" /></td>
			</tr>
			<tr>
				<td align="center">业务介绍</td>
				<td><table width="300px"><tr><td><s:textarea name="business.description" id="description" />
					<script type="text/javascript">
						CKEDITOR.replace('description');
					</script></td></tr></table></td>
			</tr>
			<tr>
				<td></td>
				<td colspan="2"><input type="submit" value="确定" />
				</td>
			</tr>
			
		</table>
	</s:form>
</body>
</html>
